package com.lotusyu.share.service;

import com.lotusyu.share.event.impl.LoginEvent;

import java.util.function.Consumer;

public class LoginService implements Serviceable<LoginEvent,String>   {


    public void onEvent(LoginEvent t, Consumer<String> resultHandler){
        //login
        String resultJson=null;
        //返回
        resultHandler.accept(resultJson);
    }
}
